Google Ads

Proudly Hosted on

About Me

Hi, I 'm Aditya, the guy behind this website and many other. This site acts as my web playground, where I share all about me, my work and my knowledge.

I have over 10.5 yrs hands on experience in PHP, Mysql, JavaScript, open sources CMS like Joomla, Wordpress etc. During these 10.5 years, I have worked on more than 200 projects and/or websites but could not spare time for my blog. But now I am trying to write something whenever I can.

 

 

Image Resizing at runtime

Hi all,  today i am sharing an awesome php script to resize image at runtime. This will relieve a lot of pain while uploading the image files and creating thumbnails. This will also save a lot of web space.

Simply call this file in the img tag and pass three parameters
1. Image = image path

2. Height = Height of the image you want

3. Width = Width of image you want

Thats all.

[download id="4"]

1 Comment

  1. Comments????? ??   |  Tuesday, 17 December 2024 at 1:18 pm

    ????? ??

    Image Resizing at runtime – Aditya Didwania

Home / Image Resizing at runtime